package com.znsd.entitys;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties("handler")
public class MsgInfo implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer m_id;		//消息提示id
	private Users send_user;	//发送人
	private Users recp_user;	//接收人
	private String msg_context; //发送内容
	private Date time;			//发送时间
	private Integer state; //0.未读 1.已读
	
	public Integer getM_id() {
		return m_id;
	}
	public void setM_id(Integer m_id) {
		this.m_id = m_id;
	}
	public Users getSend_user() {
		return send_user;
	}
	public void setSend_user(Users send_user) {
		this.send_user = send_user;
	}
	public Users getRecp_user() {
		return recp_user;
	}
	public void setRecp_user(Users recp_user) {
		this.recp_user = recp_user;
	}
	public String getMsg_context() {
		return msg_context;
	}
	public void setMsg_context(String msg_context) {
		this.msg_context = msg_context;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	@Override
	public String toString() {
		return "MsgInfo [m_id=" + m_id + ", send_user=" + send_user + ", recp_user=" + recp_user + ", msg_context="
				+ msg_context + ", time=" + time + ", state=" + state + "]";
	}
	
	
}
